<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>响应式布局页面</title>

    <!-- 引入bootstrap -->
    <link rel="stylesheet" href="./assets/css/bootstrap.min.css" />

    <!-- 引入animate.css -->
    <link rel="stylesheet" href="./assets/css/animate.min.css" />

    <!-- 引入重写文件 重置html元素的自带的样式 -->
    <link rel="stylesheet" type="text/less" href="./assets/css/reset.less" />

    <!-- 引入自己的样式文件 -->
    <link rel="stylesheet" type="text/less" href="./assets/css/index.less" />
</head>
<body>
    <!-- 导航栏 -->
    <nav class="navbar navbar-inverse">
        <div class="container">
            <!-- 左侧logo -->
            <div class="navbar-header">
                <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                
                <a class="navbar-brand wow fadeInDown" href="javasciprt:void(0)">Spirit8</a>
            </div>
            
            <!-- 导航选项 -->
            <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                <ul class="nav navbar-nav navbar-right">
                    <li><a href="#banner"       class="wow fadeInDown" data-wow-delay="0ms">HOME</a></li>
                    <li><a href="#about"        class="wow fadeInDown" data-wow-delay="50ms">About</a></li>
                    <li><a href="#services"     class="wow fadeInDown" data-wow-delay="100ms">SERVICES</a></li>
                    <li><a href="#work"         class="wow fadeInDown" data-wow-delay="150ms">PORTFOLIO</a></li>
                    <li><a href="#testimonials" class="wow fadeInDown" data-wow-delay="200ms">TESTIMONIALS</a></li>
                    <li><a href="#contact"      class="wow fadeInDown" data-wow-delay="250ms">CONTACT</a></li>
                </ul>
            </div>
        </div>
    </nav>

    <!-- banner -->
    <div class="banner" id="banner">
        <div class="title wow fadeInDown">
            wELCOME on <span>spirit8</span>
        </div>

        <div class="subtitle wow fadeInDown">
            We are a digital agency with <span>years of experience</span> and with <span>extraordinary people</span>
        </div>

        <div class="more wow fadeIn">
            <a href="#footer">↓</a>
        </div>
    </div>

    <!-- About关于我们 -->
    <div class="about" id="about">
        <div class="container">
            <!-- 背景图 -->
            <div class="background wow fadeInLeft" data-wow-delay="100ms">
                <img src="./assets/images/about-background.png" />
            </div>

            <!-- 文本 -->
            <div class="text">
                <div class="subject">
                    <div class="small wow fadeInDown" data-wow-delay="200ms">About us</div>
                    <div class="big wow fadeInDown" data-wow-delay="300ms">
                        <span>Some</span> 
                        words 
                        <span>about us</span>
                    </div>
                </div>

                <!-- 段落内容 -->
                <p class="desc wow fadeInDown" data-wow-delay="400ms">We love building and rebuilding brands through our  specific skills. Using colour, fonts, and illustration, we brand companies in a way they will never forget.</p>

                <!-- 列表 -->
                <ul class="list">
                    <li class="wow fadeInDown" data-wow-delay="420ms">
                        <span class="glyphicon glyphicon-record" aria-hidden="true"></span>
                        <span>Mission -</span>
                        We deliver uniqueness and quality
                    </li>
                    <li class="wow fadeInDown" data-wow-delay="450ms">
                        <span class="glyphicon glyphicon-record" aria-hidden="true"></span>
                        <span>Skills -</span>
                        Delivering fast and excellent results
                    </li>
                    <li class="wow fadeInDown" data-wow-delay="490ms">
                        <span class="glyphicon glyphicon-record" aria-hidden="true"></span>
                        <span>Clients -</span>
                        Satisfied clients thanks to our experience
                    </li>
                </ul>

                <!-- 按钮 -->
                <div class="more wow fadeInDown" data-wow-delay="500ms">
                    <span class="glyphicon glyphicon-envelope" aria-hidden="true"></span>
                    <span>Browse our work</span>
                </div>
            </div>
        </div>
    </div>

    <!-- Team团队 -->
    <div class="team" id="team">
        <div class="container">
            <!-- 标题 -->
            <div class="title wow fadeInDown">Meet <span>Our Team</span></div>

            <!-- 页面容器 -->
            <div class="pageContainer">

                <!-- page1 -->
                <div class="page active" id="page1">
                    <!-- 列表 -->
                    <div class="list">
                        <div class="item wow fadeInDown" data-wow-delay="100ms">
                            <!-- 图片 -->
                            <div class="cover">
                                <img src="./assets/images/hai.jpg" />
                            </div>

                            <!-- 文字段落 -->
                            <div class="text">
                                <p>Spongebob</p>
                                <p>English</p>
                                <p>I am ready...promotion.</p>
                            </div>
                        </div>

                        <div class="item wow fadeInDown" data-wow-delay="200ms">
                            <!-- 图片 -->
                            <div class="cover">
                                <img src="./assets/images/pai.jpg" />
                            </div>
                            
                            <!-- 文字段落 -->
                            <div class="text">
                                <p>Patrick</p>
                                <p>English</p>
                                <p>Hi.</p>
                            </div>
                        </div>

                        <div class="item wow fadeInDown" data-wow-delay="300ms">
                            <!-- 图片 -->
                            <div class="cover">
                                <img src="./assets/images/zhang.jpg" />
                            </div>
                            
                            <!-- 文字段落 -->
                            <div class="text">
                                <p>Squidward</p>
                                <p>English</p>
                                <p>Hate Spongebob.</p>
                            </div>
                        </div>

                        <div class="item wow fadeInDown" data-wow-delay="400ms">
                            <!-- 图片 -->
                            <div class="cover">
                                <img src="./assets/images/xie.jpg" />
                            </div>
                            
                            <!-- 文字段落 -->
                            <div class="text">
                                <p>Krabs</p>
                                <p>English</p>
                                <p>I love money.</p>
                            </div>
                        </div>
                    </div>
                </div>

                <!-- page2 -->
                <div class="page" id="page2">
                    <!-- 列表 -->
                    <div class="list">
                        <div class="item wow fadeInDown" data-wow-delay="100ms">
                            <!-- 图片 -->
                            <div class="cover">
                                <img src="./assets/images/cover.png" />
                            </div>

                            <!-- 文字段落 -->
                            <div class="text">
                                <p>Van Darkholme</p>
                                <p>English</p>
                                <p>Do you like what you see</p>
                            </div>
                        </div>

                        <div class="item wow fadeInDown" data-wow-delay="200ms">
                            <!-- 图片 -->
                            <div class="cover">
                                <img src="./assets/images/cover.png" />
                            </div>
                            
                            <!-- 文字段落 -->
                            <div class="text">
                                <p>Van Damme</p>
                                <p>No English</p>
                                <p>Do not seek to change what has come before. Seek to create that which has not.</p>
                            </div>
                        </div>

                        <div class="item wow fadeInDown" data-wow-delay="300ms">
                            <!-- 图片 -->
                            <div class="cover">
                                <img src="./assets/images/cover.png" />
                            </div>
                            
                            <!-- 文字段落 -->
                            <div class="text">
                                <p>Van Damme</p>
                                <p>No English</p>
                                <p>Do not seek to change what has come before. Seek to create that which has not.</p>
                            </div>
                        </div>

                    </div>
                </div>
            </div>

            <!-- slider -->
            <div class="slider wow fadeInUp" data-wow-delay="300ms">
                <a href="javascript:void(0)" onclick="showContent('page1')" class="dot active"></a>
                <a href="javascript:void(0)" onclick="showContent('page2')" class="dot"></a>
                <a href="javascript:void(0)" onclick="showContent('page3')" class="dot"></a>
            </div>
            
            
        </div>
    </div>

    <!-- Services服务 -->
     <div class="services" id="services">
        <div class="container">
            <!-- 标题 -->
            <div class="title wow fadeInUp" data-wow-delay="100ms">
                <h1>take a look at<span> our services</span></h1>
            </div>
            <p class="wow fadeInUp" data-wow-delay="200ms">Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of
                Good and Evil)
                by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the
                Renaissance. The
                first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32.</p>
                <!-- 四个对象 -->
            <div class="item">
                <div class="one">
                    <div class="image wow fadeInUp" data-wow-delay="300ms">
                        <img src="./assets/images/01.png">
                    </div>
                    <div class="font">
                        <h3 class="wow fadeInUp" data-wow-delay="400ms">Web&nbsp;design</h3>
                        <p class="wow fadeInUp" data-wow-delay="500ms">The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section
                            1.10.32.</p>
                    </div>
                </div>
                <div class="one">
                    <div class="image wow fadeInUp" data-wow-delay="300ms">
                        <img src="./assets/images/02.png">
                    </div>
                    <div class="font">
                        <h3 class="wow fadeInUp" data-wow-delay="400ms">Mobile&nbsp;apps</h3>
                        <p class="wow fadeInUp" data-wow-delay="500ms">The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section
                            1.10.32.</p>
                    </div>
                </div>
                <div class="one">
                    <div class="image wow fadeInUp" data-wow-delay="300ms">
                        <img src="./assets/images/03.png">
                    </div>
                    <div class="font">
                        <h3 class="wow fadeInUp" data-wow-delay="400ms">PHOTOGRAPHY</h3>
                        <p class="wow fadeInUp" data-wow-delay="500ms">The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section
                            1.10.32.</p>
                    </div>
                </div>
                <div class="one">
                    <div class="image wow fadeInUp" data-wow-delay="300ms">
                        <img src="./assets/images/04.png">
                    </div>
                    <div class="font">
                        <h3 class="wow fadeInUp" data-wow-delay="400ms">marketing</h3>
                        <p class="wow fadeInUp" data-wow-delay="500ms">The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section
                            1.10.32.</p>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- Clients客户 -->
         <div class="CLIENTS" id="CLIENTS">
        <div class="container">
            <!-- 标题 -->
            <div class="title wow fadeInUp" data-wow-delay="100ms">
                <h1>SOME OF <span>OUR CLIENTS</span></h1>
            </div>
            <!-- 品牌 -->
            <div class="layer wow fadeInUp" data-wow-delay="200ms">
                <img src="./assets/images/Layer 64.png">
                <img src="./assets/images/Layer 65.png">
                <img src="./assets/images/Layer 67.png">
                <img src="./assets/images/Layer 68.png">
                <img src="./assets/images/Layer 69.png">
            </div>
            <div class="more wow fadeInUp" data-wow-delay="300ms">
                <label class="dot"></label>
                <label class="dot"></label>
                <label class="dot"></label>
            </div>
        </div>
    </div>

    <!-- work作品 -->
         <div class="work" id="work">
        <div class="container">
            <div class="title wow fadeInUp" data-wow-delay="100ms">
                <h1>take a look at <span>our work</span></h1>
            </div>
            <!-- 介绍文本 -->
            <p class="wow fadeInUp" data-wow-delay="200ms">Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of
                Good and
                Evil)
                by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the
                Renaissance.
                The
                first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32.</p>
            <div class="item">
                <div class="list wow fadeInUp" data-wow-delay="300ms">
                    <div class="left">
                        Filter by type
                    </div>
                    <div class="right wow fadeInUp" data-wow-delay="400ms">
                        <a href="javascript:void(0)">All</a>
                        <a href="javascript:void(0)">Web design</a>
                        <a href="javascript:void(0)">Mobile design</a>
                        <a href="javascript:void(0)">Photograpy</a>
                    </div>
                    <div class="select wow fadeInUp">
                        <select name="select">
                            <option>请选择</option>
                            <option>All</option>
                            <option>Web design</option>
                            <option>Mobile design</option>
                            <option>Photograpy</option>
                        </select>
                    </div>
                </div>
                <div class="box">
                    <div class="item wow fadeInUp" data-wow-delay="200ms">
                        <div class="thumb">
                            <img src="./assets/images/work-img.png" />
                            <div class="e1">
                                <h1>TREND AND FASHION</h1>
                                <p>Website design</p>
                                <div class="plus">+</div>
                            </div>
                        </div>
                    </div>
                    <div class="item wow fadeInUp" data-wow-delay="300ms">
                    <div class="thumb">
                        <img src="./assets/images/work-img.png" />
                        <div class="e1">
                            <h1>TREND AND FASHION</h1>
                            <p>Website design</p>
                            <div class="plus">+</div>
                        </div>
                    </div>
                    </div>
                    <div class="item wow fadeInUp" data-wow-delay="400ms">
                    <div class="thumb">
                        <img src="./assets/images/work-img.png" />
                        <div class="e1">
                            <h1>TREND AND FASHION</h1>
                            <p>Website design</p>
                            <div class="plus">+</div>
                        </div>
                    </div>
                    </div>
                    <div class="item wow fadeInUp" data-wow-delay="500ms">
                    <div class="thumb">
                        <img src="./assets/images/work-img.png" />
                        <div class="e1">
                            <h1>TREND AND FASHION</h1>
                            <p>Website design</p>
                            <div class="plus">+</div>
                        </div>
                    </div>
                    </div>
                    <div class="item wow fadeInUp" data-wow-delay="600ms">
                    <div class="thumb">
                        <img src="./assets/images/work-img2.png" />
                        <div class="e1">
                            <h1>TREND AND FASHION</h1>
                            <p>Website design</p>
                            <div class="plus">+</div>
                        </div>
                    </div>
                    </div>
                    <div class="item wow fadeInUp" data-wow-delay="700ms">
                    <div class="thumb">
                        <img src="./assets/images/work-img2.png" />
                        <div class="e1">
                            <h1>TREND AND FASHION</h1>
                            <p>Website design</p>
                            <div class="plus">+</div>
                        </div>
                    </div>
                    </div>
                    <div class="item wow fadeInUp" data-wow-delay="800ms">
                        <div class="thumb">
                            <img src="./assets/images/work-img2.png" />
                            <div class="e1">
                                <h1>TREND AND FASHION</h1>
                                <p>Website design</p>
                                <div class="plus">+</div>
                            </div>
                        </div>
                    </div>
                    <div class="item wow fadeInUp" data-wow-delay="900ms">
                    <div class="thumb">
                        <img src="./assets/images/work-img2.png" />
                        <div class="e1">
                            <h1>TREND AND FASHION</h1>
                            <p>Website design</p>
                            <div class="plus">+</div>
                        </div>
                    </div>
                    </div>
                    <div class="item wow fadeInUp" data-wow-delay="1000ms">
                        <div class="thumb">
                            <img src="./assets/images/work-img3.png" />
                            <div class="e1">
                                <h1>TREND AND FASHION</h1>
                                <p>Website design</p>
                                <div class="plus">+</div>
                            </div>
                        </div>
                    </div>
                    <div class="item wow fadeInUp" data-wow-delay="1100ms">
                    <div class="thumb">
                        <img src="./assets/images/work-img3.png" />
                        <div class="e1">
                            <h1>TREND AND FASHION</h1>
                            <p>Website design</p>
                            <div class="plus">+</div>
                        </div>
                    </div>
                    </div>
                    <div class="item wow fadeInUp" data-wow-delay="1200ms">
                    <div class="thumb">
                        <img src="./assets/images/work-img3.png" />
                        <div class="e1">
                            <h1>TREND AND FASHION</h1>
                            <p>Website design</p>
                            <div class="plus">+</div>
                        </div>
                    </div>
                    </div>
                    <div class="item wow fadeInUp" data-wow-delay="1300ms">
                        <div class="thumb">
                            <img src="./assets/images/work-img3.png" />
                            <div class="e1">
                                <h1>TREND AND FASHION</h1>
                                <p>Website design</p>
                                <div class="plus">+</div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

        </div>
    </div>

    <!-- testimonials -->
    <div class="testimonials" id="testimonials">
        <div class="container">
            <div class="title wow fadeInUp" data-wow-delay="100ms">
                <h1>our clients’ <span>testimonials</span></h1>
            </div>
            <div class="layer">
                <h1 class="list wow fadeInUp" data-wow-delay="200ms">
                    This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line
                    of Lorem Ipsum,
                    "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32.
                </h1>
                <h3 class="list wow fadeInUp" data-wow-delay="300ms">Dean Martin, CEO Acme Inc.</h3>
            </div>
            <div class="more wow fadeInUp" data-wow-delay="400ms">
                <label class="dot"></label>
                <label class="dot"></label>
                <label class="dot"></label>
            </div>
        </div>
    </div>

    <!-- 联系我们 -->
    <div class="contact" id="contact">
        <div class="container">
            <!-- 标题 -->
            <div class="title wow fadeInUp" data-wow-delay="100ms">
                feel free to<span> contact us</span>
            </div>
            
            <!-- 段落 -->
            <p class="desc wow fadeInUp" data-wow-delay="200ms">Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance.</p>

            <!-- 表单 -->
            <div class="register">
                <form name="register" method="post">
                    <div class="top wow fadeInUp" data-wow-delay="300ms">
                        <div class="item">
                            <h5>Name<sup>*</sup></h5>
                            <div class="input">
                                <input type="text" name="username" placeholder="请输入用户名称" required />
                            </div>
                        </div>
                        <div class="item">
                            <h5>Email Address<sup>*</sup></h5>
                            <input type="email" name="email" placeholder="请输入邮箱" required />
                        </div>
                    </div>

                    <div class="bottom wow fadeInUp" data-wow-delay="400ms">
                        <h5>Message<sup>*</sup></h5>
                        <textarea name="message" placeholder="请输入内容" required></textarea>
                    </div>

                    <div class="send wow fadeInUp" data-wow-delay="500ms">
                        <button type="submit" class="wow fadeInUp" data-wow-delay="500ms">SEND</button>
                    </div>
                </form>
            </div>
        </div>
    </div>

    <!-- 底部 -->
    <footer class="footer" id="footer">
        <div class="container">
            <p class="copyright wow fadeInUp" data-wow-delay="100ms">ALL RIGHTS RESERVED. COPYRIGHT © <span>2014 SPIRIT8</span></p>
            <div class="link">
                <div class="item wow fadeInUp" data-wow-delay="200ms"><img src="./assets/images/footer1.png" /></div>
                <div class="item wow fadeInUp" data-wow-delay="300ms"><img src="./assets/images/footer2.png" /></div>
                <div class="item wow fadeInUp" data-wow-delay="400ms"><img src="./assets/images/footer3.png" /></div>
                <div class="item wow fadeInUp" data-wow-delay="500ms"><img src="./assets/images/footer4.png" /></div>
                <div class="item wow fadeInUp" data-wow-delay="600ms"><img src="./assets/images/footer5.png" /></div>
            </div>
        </div>
    </footer>

    <!-- 返回顶部 -->
    <div class="back_to_top" id="back_to_top">
        <a href="#banner" class="op"><img src="./assets/images/top.svg"></a>
    </div>
</body>
</html>
<!-- 依赖jquery -->
<script src="./assets/js/jquery.min.js"></script>

<!-- 引入bootstrap插件脚本 -->
<script src="./assets/js/bootstrap.min.js"></script>

<!-- 引入less 编译css的一个插件 -->
<script src="./assets/js/less.min.js"></script>

<!-- 引入瀑布流插件的js文件 -->
<script src="./assets/js/wow.min.js"></script>

<script>
    // 实例化瀑布流插件
    new WOW().init()
</script>

<!-- 用于控制页面切换的js代码 -->
 <!-- 通过修改css的display属性实现 -->
<script>
    function showContent(pageId) {
    // 隐藏所有页面
    document.querySelectorAll('.page').forEach(page => {
        page.style.display = 'none';
    });
    
    // 显示选中的页面
    document.getElementById(pageId).style.display = 'block';

    // 更新按钮状态
    document.querySelectorAll('.dot').forEach(dot => {
        dot.classList.remove('active');
    });
    
    //为触发事件的元素添加 'active' CSS 类
    event.target.classList.add('active');
}
</script>